﻿using Library.Common.Model;
using Synthesize.BaseSet.ServiceInterface.Dtos.Authority.Department;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Synthesize.BaseSet.ServiceInterface.Query.Authority
{
    public interface IDepartmentQueryService
    {
        /// <summary>
        /// 获取部门树
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<BaseApiResult<List<GetDepartmentTreeListOutput>>> GetDepartmentTree(GetDepartmentTreeListInput input);

        /// <summary>
        /// 获取部门列表
        /// </summary>
        /// <returns></returns>
       Task<List<GetDepartmentListOutput>> GetDepartmentList(GetDepartmentListInput input);

        /// <summary>
        /// 获取部门
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<BaseApiResult<GetDepartmentOutput>> GetDepartment(GetDepartmentInput input);

      
    }
}
